Levels is an 8-bit RGB filter. It is going to adversely affect things, and trying to do anything regarding color without a preview is foolish. Even in the next version with 10-bit linear color processing on the CPU that filter is not tagged #10bit and will not be in the near future since the frei0r plugin framework inherently 8-bit RGB. What you are doing is not supported as I already mentioned in the docs: