Fixing time interval parser.