Fixed bug which caused a crash when using the Find feature