Fixes inflate logic for closure