Updated ConsistencyCheck.java for new feature