The influence of boundary conditions on current instabilities in GaAs