SELECT / INSERT VarInt fix - using BCMath

fix #40