Update comment and fix typos in assert message. (NFC)