Fix vector out of bounds in script tests
Fix vector out of bounds in script tests

(cherry picked from commit 68af7d02cf63eb3d2ed015013d245fe5d3aadbd1)

reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin