Fixed candidate dropdown and tests [MJ-466]