fixed

Variables of Date type weren't always Dates

This has been fixed.