Fixes bug when using searchable().

Signed-off-by: crynobone <crynobone@gmail.com>