fixes multiple meta queries and adds more metaquery-related specs