8-bit binary U/D counter with rotary encoder
There are two recommended ways of cascading the 4510 on the datasheet and you are using something else: 



Note the use of a 2-input OR gate for when you use ripple clocking.