Add extra check for presense of relativenumber before trying to set.