This might not be a bug, could just be intentional with priorities, but if so then it's very misleading since (I assume) Spy still saw Mafia visits in this case.
I was Executioner and on Night 2 I was visited by the Werewolf, Doctor, and Spy. I was notified that Doctor saved me, but apparently the Spy was not.
Jailor got this information from the Spy (the former was revived) and executed me because I was apparently lying about being saved ergo I was evil (I only include this to illustrate how the bug could impact the game).