Unexpected Seven Segment Output

I double checked the connections. They are correct, but my readout is "2312".

And just to make sure I'm understanding correctly, Digit_1 connects to pin10 of SSD1, Digit_2 connects to pin 5 of SSD1, Digit_3 connects to pin 10 of SSD2 and Digit_4 connects to pin 5 of SSD2.