Fix for ArrayDAO.select(COUNT) with a predicate.