fix multiple avatar parsing in AvatarManager
Merge pull request #1791 from birarda/master

fix multiple avatar parsing in AvatarManager