Fixed bug in annotation GET query