Remove testing against nil and checking if managedObjectContext has changes. Improve array readability.