Fix various bugs with DAT population