Fixed 'Bug 5305 - Find Next does not work after switching to a
different window' pt2.