Had a quick look. BG2Fixpack fixed this bug.
You need to be either in Chapter 8 (in ToB part of the game), or need to drop both Imoen and Keldorn from your party, if you want to finish the quest. There is a dialogue scripting issue from vanilla BG2:ToB.