Fixed >= boundary checking bug when doing register wordwrite/write.