[z1837] Fix an old bug related to GO spawnmask check

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit fe8f84d)

(cleaned version of 0c2943f)

(based on commit [s1396] - f552151)