Fixed an error in the find window