Fixed overly-complex evaluation of print_settings dict.