Merge pull request #46 from SlrG/master

Use durationinseconds tag if present to prevent mistakes in guessing the
Rework of <durationinseconds> recognition.
Was not working as expected.