* remove errant closing curly brace from generated query