extend Query#having