Fixes #6 odd/even bug