Committing fix to how AllActiveJobs are queried from the Database