Fix determine category on u4e script.