Remove the field from the tab if the field does not exist
Remove tab if empty