Fix incorrect earnings addition in EDD_Payment_Stats. #1376