Invert selection in pulses.ino does not select non existent pulses.