When doing Advanced Adventures, and are tasked to gain a new spell as per: The Spirit World, IF the character has learnt any additional spells prior, then the task will complete when loading the game.
The quest will NOT auto-complete with additional spells known and getting to The Spirit World task.
If character only knows the initial 4 spells, then the quest will wait for learning 5th spell / magic means.