Removing inactive chains.