Properly deal with dseries in identification. This fixes #781
Merge pull request #785 from rattoma/master

Properly deal with dseries in identification. This fixes #781