Fixed bug with displaying past query filters