Fixed NXT error checking to include ALL flag for motor