Fix several bugs related to the usage of judges associations