Checks properly for existence of array element for quiz_log response_log.
Merge pull request #2300 from rtibbles/quiz_log_fix

Checks properly for existence of array element for quiz_log response_log