Wonderful! Thanks so much. I often wondered if there was an option that I could change to fix this. I don't know if this will negatively affect me anywhere else, but it fixes this problem.
To be clear, the result is still Element= 6.999999999999999, but in the logical expression Element=7 returns true.