Only fetch results for partial matches.

This should fix #19 I believe. It should only query the database for the filtered items when searching or just the parent item on initial display.

I've left the option for fetching all items incase it's needed in the future.