Fixed `isBlockMod` and `isElemMod` methods:
Should not detect mod of block by object without `modVal` field
Fixed `stringify` method:
Should not stringify mods if `modVal` filed is undefined