Bug fixing. Global case search