Fixed bug in $index being added to document as a property!
Dist build