Fixed up an assertion which smart delegates were abusing