No money shall be paid by the city upon any claim, debt, demand or account whatsoever, to any person, firm or corporation who is in arrears to the City of Pleasanton for taxes or otherwise, and the city shall be entitled to a counter claim and offset against any such debt, claim, demand or account, in the amount of taxes or other debt in arrears, and no assignment or transfer of such debt, claim, demand or account after the said taxes or other debts are due, shall affect the right of the city to offset the said taxes or other debts against the same.