Fix relativenumber check.