Improve the efficiency of the RDFTCheck() method.