Fixed a bug in the hours field for inserting times.