Fixed zero-value duration issues. Fixes #003.