It's now working! Fixed some improper comparisons