fix enddate delta calculation and validation.

This is a fix for issue #130 but only for 1.1.x branch which aims to be the Plone 4.3.3 compatibility branch.