Fixed #10 - thx to zatch for reporting this :)