Fix logic error causing new slave attributes to be discarded.

Bugs closed: AURORA-582

Reviewed at https://reviews.apache.org/r/23653/