sensor data hangs when going through if/then statements

so they should extend longer? i don't understand how that can cause the sensor data in the serial monitor to momentarily stop