Filter overflow of encoders using absolute value.