Tiny fix for Lua item search.