How Structural Details Influence the Result of pKa Calculations in Proteins