Fixed a bug in the bugfix -.-

Just fixed a bug in the previous bugfix. Note to myself: Test EVERYTHING -.-