Fixing a couple queries to be more specific; MySQL on the server was complaining.