Fix bug in search plugin that broke subnets and security-groups

In the plugin, _search() may return the item unmodified, or perform a
search returning either a single ID or a list of IDs. _multi_search()
was always extending its results array, assuming it received an array,
thus breaking non-searches.