I did some testing & none of my modifications were causing the problem. It turns out that I had overlooked saving the SearchType as a session variable and was instead relying on $_GET values. The 1st time thru, that was OK. The 2nd time, the $_GET value for SearchType was gone and the code defaulted to a basic search. I saved SearchType as a session variable on the 1st pass & retrieved it from there afterwards if $_GET came up empty.