Fixed search???
Is the third query always the last to run??? Check this.