Fix segv in arec::types from Christian Gollwitzer.