This post was helpful to me as I encountered the same problem(a year later than Nick) and moving the chunk of code you identified fixed it. Thank you.
Meanwhile, it seems that DA for Product Admin needs to be fixed to put that code in the right place when it generates the products_results page the first time. Maybe something to put on your list for next release? Just a thought . . .