Merge pull request #5024 from nabinhait/recurring_doc_status

[patch] Fix delivery and billing status of recurring orders