[sr-dev] git:master: modules_k/rls: Added checks for NULL results from DB queries