More refactoring for subject pool ORM queries. Addresses Issue #62