Fix bad association check from commit
67fdbce513bc8b51ab13e2158488cc0812ea1344