Small fix with mysql_real_escape_string on some fields causing DB error