Reformatting to more semantic check and early return for empty array
Reformatting to more semantic check and early return for empty array

magnetsystems/AFIncrementalStore,nataliq/AFIncrementalStore,callzhang/AFIncrementalStore