Fix for episode duration NaN problem.
Merge pull request #28 from SlrG/master

Fix for episode duration NaN problem.