Overridden createCriteria to return our custom criteriaBuilder.