Made sure to not needlessly loop through config if it was disallowed.