Fixed Exception

Caused by clearing a list when searching twice.