Fixed checks to be oredered.