Bugfix for DateTimes and composite IDs.

The schema tool allows you to make DateTime fields part of composite IDs, but it causes DateTime conversion errors when you try to actually use them.

This can be fixed with the addition of one simple line that converts DateTimes to a string. I'm not able to find any negative effects of this change, and it makes DateTime composite IDs work perfectly.