Remove redundant $wp_query global declaration

Fixes #46