Puerto Rico had a number of problems before Maria even hit.