Fixing bug with undefined var. Fixing bug with set difference on B set not being a MOTHER FUCKing SET