Fixed a compiler error in an assert