Prevent second flash message from showing when submitting auto_judge exercise