Fix unknown list exception check