The thing about Axis Angles from EZRotate is the X angle returned ranges from -90 degrees (looking straight up) to 90 degrees (looking straight down)
If you go beyond those points they start counting down to zero again. It's quite confusing.
I've also had trouble with the Y angle returned only allowing a range of 90 to 270. Once you pass those points they start counting down again. I suspect this is how EZRotate avoids gimbal lock, but I'm not certain.
The DBPro commands return 0-360 for all angles, and so I've switched to that as it's a LOT less confusing, and with a little math seems to work fine.