Fix bug in create policy screen when data has no unit