Core/Scripting: Remove double check. Thanks joschiwald