Added the ability to filter collections using the Criteria API