Fixes bugs with cell reuse. Reported by Bms on cocoacontrols.com