remove spurious assert
Merge pull request #6598 from wmtan/RemoveSpuriousAssert

remove spurious assert