How to query type has array field's length > 0