Fixed core data duplication bug: ready for prime time.