Fixes ignore bug #11

Could be prettier, but it fixes issue #11