BS-6712, getPossibleUserIdsOfPendingTasks hql query optimisation, getPossibleUserIdsOfPendingTasksWithoutMemberships deleted since it is no more used