fixed queries removeTag and removeMapItem