Was Thomas Jefferson inflexible as president?