Probably a bug in unflatten?