Updated AndNot to use cursor. Performance increased 3x.