Fix crash in custom range mode (t=c or t=sc)