Improved previous query display