what version are you running?
I think you might need to upgrade to 6.01 to correct any previous bugs in the script if there where some. I think that is the correct thing you want to do.
http://www.photopost.com/photopost/s...earchid=102159
I did a search on our gallery with a search term and selected one cat and results from that cat are displayed.