Fixed --previous option with barrier file