Fixed bug in complement logic. Wasn't setting 'keep' to false.