Fix to assertion message