Fixed bug that causes search with space to fail and now resetting exception on each call