CRM-14128 - make mhas available, make where() generic