Fix for use isinstance({}, dict)