fix die if we program or secure tag which isn't in range Fix based on bug report by Dave Cameron <pp@daverabbitz.ath.cx>, thanks.