Fixed problem with uppercase letters when selecting query format.