Add min/max support for date attributes. Drop unnecesary default value code for date attributes that was causing unit test failures.