Fixed bug in process.cc.
Merge pull request #74 from Fraser999/MAID-513

Fixed bug in process.cc.