Fix RAT check broken by a1a68ed0c4b722