Fixed Post_type query bug