Fixed bug with collapse delegation.