Fixing minor bug with an assert without a non-braced if