Added an additional check for rotating the wheel.

This is important when we have more persons than chairs. This seems to fix #1 and #2.