Fixes variable capturing empty node should be valid