Fixes #81 - indentation error

This should fix #81 and several similar bugs.
I should mention that I didn't test it, but since it isn't a big fix, it shouldn't break anything.

(I use 4 spaces for an indentation)