Fix function parameter
Focus WP title after query selection