MDL-35073 badges: fix incorrect fk name

Good spotting Damyon!