Match on `delegate.elementType` instead of `delegate`.