Why is this being set to an empty list if it is not in the form?