fix filtering scenarios with specific tags

fixing issue #302, also added test for this feature