Fix bug on vp_get_posts query