fix filterquery for ELGG_ENTITIES_NO_VALUE