Fixed search seg fault, search terms must be in lowercase now