uploading fix for redirection problems with
$this->redirect('/properties'); in the Properties Controller.