There seems to be a huge problem with the episode Justice. In the beginning of the episode Tasha Yar describes the Edo's legal system as very straight forward and based on common sense. Later on, Wesley Crusher is sentenced to death for committing a minor tort. How did Tasha Yar not know that death was the punishment for almost every crime, if she studied their legal code, that seems like a big oversight on the part of her and the crew at large. Why was this oversight allowed to occur?