Fixed a dedent logic bug I hadn't caught before