Fix for the fix of r23978, the theta_x angle should be checked for zero as it is the smallest.
Authored by: bugman 2014-06-16
Parent: [r23980]
Child: [r23982]