Added query to selector to every panel where it makes sense