More helpful debug message when yielding wrong objects to scheduler