Corrected config validation to accept the right names