fixed logic error when refreshing a pile in lazypile/make