Thanks for your report. I will fix that.
By the way, it’s totaly unlikely that you will end up with a null action task in the list, since missing tasks (and nodes) are replaced automaticaly with a MissingTask/MissingNode type.
Did you somewhow managed to end up with a null action task in the list?
If so I will be glad to know how, since it might be a bug there.