Rework of <durationinseconds> recognition.
Was not working as expected.
Merge pull request #47 from SlrG/master

Rework of <durationinseconds> recognition.