Fixing wrong parsing of time intervals separated with '--'.