[PLAT-5783] Fixed generating schedules with frequency larger than end date
[PLAT-5784] Tidied up interpolated stub coupon code
[PLAT-5785] Removed commented code blocks