Fix check for relativenumber