Fixed issue #936: Applying a stash from the list fails