Fix deep object comparison between 'true', {}, and [].