sonic: cleanup/simplify num_taps check