Fixes for searching based on LIKE