Fixes the assertion and crash that would happen when inspecting a element from a...