I'm developing a viewer framework and one of the main components is the Search Widget. However, we're experiencing some odd behavior from AGS. If an unsuccessful query is sent to AGS for a layer query, AGS is returning a 200 response with an error message of "Error 500: Error performing query operation". Once this happens all subsequent searches using the "all" option fail, but searches against discrete layers perform successfully. Also these error messages appear on load even though all layers are visible and operational.