Fixed additional compare in newmod.sh

see title.