If you beat Starscourge Radahn before doing Ranni's quest, an important character will end up not being available to you. You can free this important character from captivity, but then he seems to completely disappear, even if you go talk to his captor. Because of this, you can't complete Ranni's quest.