Changed areEqual to isEqual.