···988//
989// `w` is parent of none, so it is the top of the stack
990func GetStack(e Execer, stackId string) (Stack, error) {
991- unorderedPulls, err := GetPulls(e, Filter("stack_id", stackId))
0000992 if err != nil {
993 return nil, err
994 }
···988//
989// `w` is parent of none, so it is the top of the stack
990func GetStack(e Execer, stackId string) (Stack, error) {
991+ unorderedPulls, err := GetPulls(
992+ e,
993+ FilterEq("stack_id", stackId),
994+ FilterNotEq("state", PullDeleted),
995+ )
996 if err != nil {
997 return nil, err
998 }