Yep - that's the Z Series for you, on again, off again, then working fine.
I recommend you do an advance paper calibration. Those lines in your diagnostic chart are zebra stripes and APC should fix it.
Could be there was something obscuring the color sensor, and your cleaning could have moved it out of the way. The ESP can be a tricky thing sometimes.
Glad you got it back working.
Mark