Use error handling when deserializing from Core Data