Implementing option '--where' (Issue #605)