Show detached heads correctly