Fixed delete redirection

Wasn't working when inside a page object.
Merge pull request #1 from pitchandtone/patch-1

Fixed delete redirection