The back button arguably already does not work in many situations in a web application, some of which have been mentioned on this page, e.g. after a POST. If there is no well-defined behavior that a user expects and which normally works, I do not think it is worth bending over backwards to fix the back button, especially since your fix will not be universal or expected.