Fixed TimeSpan bug (issue #11)