Removed .keys() from if statements in check_log_files.py. For ticket #96.