Added apostrophe-handling for Insert commands.