Don't need to flatten equality test