Fix for axis types string comparision (is vs ==)