Return either the remapped number, or undef if the number is negative (as would be the case if the index is out of range).