Fix redirect on apply.