Corrected bug with NSArrayController that wasn't emptied.