Remove duplicated logic from getRunComparativeData()