Title: #2318: [Backport][ipa-4-7] Clear next field when returnining list elements in
This PR was opened automatically because PR #2283 was pushed to master and backport to
ipa-4-7 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2318/head:pr2318
git checkout pr2318