Additional WMTS time handling check to fix issue with last commit.