Transition to geostrophic convection: the role of the boundary conditions