group swap fix
Merge pull request #1090 from Blank101/swapfix

Group.swap() fix