Causes bugs with multiple post type queries. Solve later.