Autocomplete on nicks (tabbing) does not break, loops on first nick

Hey.  
I found tabbing for nicks to be a bit buggy, and I think this fix will make it work better.