Do you have a save from before entering the castle by using the teleporter pyramids?

If not I can take another look at this, and try hex editing the relevant section of the quest file (if I can find it) to see if I can fix it.