Fix for correctly working with microseconds

Fixes #12.