made /entry/ queries work