[sr-dev] git:master: modules_k/presence: Fixed some problems with for() loops in DB only mode