BUG: Suppress FutureWarning when comparing object arrays

Fixes #7065
yep, this is fine