Added trigger to consolidate values into hours.