Fixed wrong return value when action should be redirected in controller