Fix list.get, fixes #497