corrected new data check to exclude equal maximums