Fixed indented objects always being invalid.