Fixed delete redirection

Wasn't working when inside a page object.