Key and Value classes not responding to IN and NOT.