Sheriff spends $17,700 on security for Jackson visit