Shelter rescues 23 mistreated dogs