Add check for isset($payments_received)