[Ready][3.8] Fix #1714 First status is not applied on document after upload