moved content type retrieval to before content retrieval (will be used for picking Content or PublishedContent collections)