Can now get tags by queries