Fixed error in assert with message