fixes #2747 - scoped search lambda takes one argument
(cherry picked from commit bae0bea90d8096e7a787984b7167d13627da94fd)

Conflicts:
	test/unit/host_test.rb