refactor distinct interaction queries; distinct interaction queries now also support source - interactionType - target queries