Papal elections are bugged. If you have a save from the previous turn (Not the autosave which it does as soon as elections are called) load from that and try the election again. It should have the correct result the second time. I've had this bug three times and reloading the previous turn has fixed it all three times.