observer#pattern_search had some cases which would result in two renders/redirects.