attributes filtering on entity query