Fixed test for list in dpla-list-records.listrecords.

The type test has to come before the list is evaluated.