Use at least 1 input block at a time in rfifind
Fixed off-by-one error in IF selection code