Fixes find selection bug