fixes #43 to be able to use resources in transition conditions that are only found in the condition.