Amendment XIV was also meant to protect Southern Unionists.
The broadening was poorly written.
It is a poorly-written amendment but what matters is not what the writers intended - they did want to broadened the reach of the feds - but what the ratifiers intended which was merely a Reconstruction amendment to establish ex-slaves as full citizens.