Fixed  bug in SQLCommander.queryAcceptedActivitiesByStatusAndChronologicalOrder().