feat(reviews):changed before validate function to allow setting arrays to undefined