Fix to check if searchTerm is not "undefined" before trying to use it to filter search results.

Signed-off-by: Florent Viard <fviard@lacie.com>
Merge pull request #1882 from fviard/develop

Fix to check if searchTerm is not "undefined" before trying to use it to...