Added multiple criteria search for UIWindow