The simplified code revealed that the motors were switched.