How to filter out only those activities driving a task?