Fixed quote queries fetching.