fix logic to determine active conditions
Merge pull request #5 from ros2/active_condition_logic

fix logic to determine active conditions