OpenURL during OnDelete -> OnSuccess being ignored

OpenURL during OnDelete -> OnSuccess being ignored

I have the following code in the On Success section of the On Delete action in a form:
  1. openUrl("#View:AQ_Report?ParentID=3007035000000362036", "same window");

It doesn't work there but the same code in the On Success section of On Add does work. Is there some way I can open a report after a record is deleted?

My use case is that when the last record that matches a particular filter is deleted, I'd like to take users to the same report with a different filter. 

Thanks!