Fixed bug in commorbidityVal (pid was being overwritten and last column was NaN)