Fix empty candidates behavior