diff --git a/content/multipledataset.html b/content/multipledataset.html
index 8a12b32c..3894e9f2 100644
--- a/content/multipledataset.html
+++ b/content/multipledataset.html
@@ -163,7 +163,7 @@ draft: false
for (const exc of d.excitations) {
const key2 = JSON.stringify([d.molecule, exc.initial, exc.final])
const keydic = sdatdic.get(key)
- if ((!exc.isUnsafe || window.filterParams[0]) && ((exc.type & window.filterParams[1])==exc.type.Value)) {
+ if ((!exc.isUnsafe || window.filterParams[0]) && ((exc.type & window.filterParams[1])!==0)) {
if (!(keydic.has(key2))) {
keydic.set(key2, [])
}
@@ -331,7 +331,7 @@ draft: false
const key3 = JSON.stringify(dat.method)
for (const ex of dat.excitations) {
Reflect.setPrototypeOf(ex.type,excitationType.prototype)
- if ((window.filterParams[1] & ex.type)==ex.type.Value) {
+ if ((window.filterParams[1] & ex.type)!==0) {
const key2 = JSON.stringify([ex.initial, ex.final, ex.type])
if (!datadic.get(key1).has(key2)) {
datadic.get(key1).set(key2, new Map())