Merge pull request #5319 from nabinhait/return_fix

[fix] Validate returned serial nos and batch nos with original document