Use array_get in validateSame.