Fixed a bug where the payment page would throw a null reference exception when showing a prorated invoice.