             lcd.setCursor(0, 1);
             lcd.print(completedRevs, 7);
           }
-          else { //If the flag is true, rotational velocity is tracked
+          else if(buf[8] == 1) { //If the flag is true, rotational velocity is tracked
             int rotationVel;
             union { //Since we're receiving an integer, we need a different-sized memory union to work with
               int tempInt;

          lcd.print("ERR: Bad Header"); //42 in slot 4 is the header's backup validity check
        }

        else if (buf[1] == 0) { //buf[1] is the sensor "sleep mode" flag
          float batteryLevel;
          for (int c = 0; c < 4; c++) {
            u.tempBuff[c] = buf[c + 8];

          lcd.print("%");
        }

        else if ((buf[5] == true && buttonState == 0) || (buttonState == 2 && buf[5] == true)) { //buf[5] is the GPS enabled flag
          float latitude;
          float longitude;
          float altitude;
