Fixes post-mogrify redirect.