Improved an assert