Fixed the capitalization of all of the HQL statements