Good point on only checking the A and D inputs for a binary of value of nine.
I'm not sure what is wrong with the simulation because an X usually refers to a floating wire somewhere that is not connected all the way, but for some reason if I probe the QA, QB, QC, QD inputs, all of them say X...