Implemented and tested area_query for relations.