Filtering repetitions in setSpeed accessor