Small fix for getlist.php

Nothing spectacular, but I stumbled over this one not working.