Added another case to the RdbDataEntry equals to compare RdbIndexEntry. Changed isCorrectDataEntry as a result of this