BUG: fix plotting of dup indexed objects

closes #4486.