You’re probabaly right, it was one of few mistakes he made, but at the time he had other bigger fish to fry. Considering what he accomplished, I’d simply use it as a mistake we can look at with hind sight.
From what I have heard, he thought he had a deal on border security, but the Dims renegged.