Fix condition for redirect in __processForm()