Changed syntax of filtered query once again to match advice from Bonsai regarding 0.9->1.3 changes