Fixing duration parsing.