Effects of boundary conditions on magnetization switching in kinetic Ising models of nanoscale ferromagnets