Fix database scan func type mismatch.