Fixed wrong argument passed from CommandFactory to RestoreCommand. Fixes #298
Merge pull request #299 from khellang/298

Fixed wrong argument passed from CommandFactory to RestoreCommand