Using definition query to filter map