Added ability to specify that a query should be limited to only the supplied properties.