feat(model): auto-cast return query filterByType
refactor(bpmn-model): extract method to find incoming references by type