User logged out on 'simple search' or ticket creation postgresql

I have a problem similar to the issue posted http://lists.bestpractical.com/pipermail/rt-users/2009-October/061722.html however I am using a postgresql database not mysql.
Every time a logged in user performs a simple search using only an integer value the user is logged out. RT version 3.8.8

If anyone has any input on resolving the issue please let me know. Thanks