Prevent single quotes from breaking owner select and sanitize double quotes