Anyway, my gut feeling is that safeguard like this should be in front of any redirect, unless there is a very specific reason to redirect to the same page.