BUG 6845 Fix Bug when importing old processes and processes of the library.
BUG 6845 Fix Bug when importing old processes and processes of the library.

colosa/processmaker,baozhoutao/processmaker,tomolimo/processmaker-server,tomolimo/processmaker-server,baozhoutao/processmaker,tomolimo/processmaker-server,baozhoutao/processmaker,colosa/processmaker,colosa/processmaker,tomolimo/processmaker-server,baozhoutao/processmaker,colosa/processmaker,hitsumabushi/processmaker,hitsumabushi/processmaker,colosa/processmaker,colosa/processmaker,hitsumabushi/processmaker,tomolimo/processmaker-server,baozhoutao/processmaker,hitsumabushi/processmaker,hitsumabushi/processmaker,baozhoutao/processmaker,tomolimo/processmaker-server,hitsumabushi/processmaker