clean up uses.
Make PropertySelectWhere::checkQuery() static to fix a warning.