fix include_empty to use bool type