This is a follow-up to #1239946: Embedded field collection items with a default value result in new items on save and is directly related to #1815496: Using "Hide blank items" leads to misformed tables.

I'm wondering if this condition is required - $instance['widget']['type'] == 'field_collection_embed' in field_collection_field_attach_form().

The Field Collection Table module provides another widget type - field_collection_table. What would be the best way to fix the #max_delta for this widget as well? Duplicate the implementation of hook_field_attach_form? Are there any other known widgets that would be affected by removing the aforementioned condition?