Small bug fix for the search overlay