Bias in absolute magnitude determination from parallaxes