BUG: fix period index object instantiation when joining with self
Merge pull request #4379 from cpcloud/self-join-index-is-same

BUG: fix period index object instantiation when joining with self