Quick fix so WMS can handle capitalized time units (e.g., "Hour").
(cherry picked from commit 4067201)