Fixes #85 getSelectorUniqueToElement fails when passed element #document