Fixed crashing route (query) for tags