fixing issue with how the agent picks an entry from multiple results
ticking version