Joint limits for continuous joints are not 0. You need to check the joint type. Continuous joints will report -pi to pi as joint limits, but that can be a prismatic joint as well.