Fix for slash weirdness under PHP 5.2/5.3

Since slashes are no longer stripped in Database->escape_data(), it
needs to be stripped here.