Fixed Searching Bug in Refactoring mode