Fix post type registration on fields