Fixed a minor bug exposed by the tests. Changed the should_deinterleave variable name to interleave_levels.