Fixes error thrown when multiple_leads query returns an empty list