Fixed error when inserting something with an apostrophe into the DB