#986046 patch by sun: follow-up to work with recent list module changes. Requires a recent d7 version.