Fixed a bug in querytable.pl
Print loop was trying to use contents of
the hash as keys rather than just the keys