fixing calculation issue with recurring prices