Fix #974: Bug - Customers assignment doesn't work if the first reseller hasn't any client

Hi Laurent... Here the fix for the ticket 974