Fix post-/pre-increment mix-up

fixes #1