Fixed quotation marks bug in database