wip(indexes): starter code for handling duplicate accounts #3986