attributesMatch now works also with empty arrays