Fix in/notin

Closes #2 and #3, I cherry-picked @Ocramius' commits.