Fix warning in list utility