Fixed a bug in area_query found by tests. Implemented, but not tested area_query for relations.