Hi, I believe that it is not a bug. In previous versions, DSE could have been done while a mask was applied, however that mask was not taken into consideration as the process builds its own.
Disable the mask and the script will work fine.
Anyhow a warning would sound better than an error.
Saludos.
Alejandro.