The list of quizzes only works properly with the weeks, weekscss, and topics formats. The problems that revision 22.214.171.124 fixed for the weekcss format still happen for all the other formats.
The quick fix is to switch lines 93 and 92 on revision 126.96.36.199; however, that's only a poor hack. These kinds of hard-coded checks for the format name happen in several places across Moodle and cause difficulties for 3rd party formats. It would be better if this did a check for some attribute of the format's class or something.