Fix post type parameter to accept a simple post type string.