diff --git a/src/js/dynamic-net-filtering.js b/src/js/dynamic-net-filtering.js index 774843799..069045cde 100644 --- a/src/js/dynamic-net-filtering.js +++ b/src/js/dynamic-net-filtering.js @@ -444,10 +444,7 @@ Matrix.prototype.mustAbort = function() { /******************************************************************************/ Matrix.prototype.toFilterString = function() { - if ( this.r === 0 ) { - return ''; - } - if ( this.type === '' ) { + if ( this.r === 0 || this.type === '' ) { return ''; } var body = this.z + ' ' + this.y + ' ' + this.type;