- Fixes an issue where a Local draft post/page with pictures can be uploaded without any media attached to it.
- Properly close few cursors.