Filter the list to remove values unwanted by the decoder