Fixes string for patchedredirect middleware module