Fix typerror during removal of chats when list reaches capacity
Merge pull request #114 from imakewebthings/master

Fix typerror during removal of chats when list reaches capacity