Fixed ContentProvider crash.