improve Transaction->shouldRedirect()