check returning list from search to NULL.

last serious commit i guess