Adds ignorecase and smartcase for search