[sr-dev] git:3.3: modules_k/rls: Fixed issues with for() loops in DB only mode