Triple equal not required when comparing filter and object values that are definitely boolean by this point