added filtering by multiple contexts for statements, issue #8