Uncertainty-Aware Search: Mitigating Test-Time Search Scaling Flaws in LLMs