Fixed an issue with Merge All function.