_.isEqual optimizations