Added logic to swap the header styles for KOMA-script classes back to the normal LaTeX style