core data iOS7 fixes with schema changed