[TASK] Take current field value into consideration before removing collection field

The field should be visible only when there are files selected.
Merge pull request #3 from NamelessCoder/removeifempty

[TASK] Take current field value into consideration before removing collection field