Fix that strings were not escaped before inserted into DB