When you try to create an "mspells list" command it says:
You currently have no memorised spellsRegardless of how many spells you have memorized.
When you try to use one it gives a list of:
Failed to memorize spell "<spellname>", or no spell was known matching that nameHardly a major problem but it does make life a little more difficult for wizards and clerics.
For reference: the /mspells <n> command creates a macro in a quickbar slot that will automatically rememorize your current spellbook.