Code made it possible to submit the same flag twice and receive money for it. This fixes that bug.