Fixed bug in joining a class.
Merge pull request #80 from jwien001/master

Fixed bug when joining a class.