fixes a bug in how require handles negations