Fixed a reversed assert

TBR