Another pass at making sure everything going into the database is properly lowercased where required.