fixed crash on 'discardDuplicateMarkers'
Merge branch 'discard-dupl-fix'