fixed klout and instagram database query errors for harvesting