Ugandans taken to military court