Fixed issue with dates and capacity in editor