Doing all the work to create a list element only to fail when we can not decode the element is a waste of effort. Decode the element first and only on success handle the list operations.
Doing all the work to create a list element only to fail when we can not decode the element is a waste of effort. Decode the element first and only on success handle the list operations.