Added a min length + filtering the search for LIKE special chars.

Fixes an issue where searched could be very expensive. 

Having a fixed limit at >= 3 doesn't scale very well. But can't think of a any other simple solutions atm.