Fixing incorrect assert message