Fix str_replace ignoredchars