Solve huge bug

I should use tests someday.
Bugfix

This crashed the program if you were very unlucky.
New version 0.2.1

Fixes