Throw NotFoundException only if flag is set, prevents parent tx to fail if not set