Close
After filtered shadows with a luminance mask, select black (of the original layer) and clear the selection of the masked layer can avoid diminishing the back lines.

PS: Batching couldn't work when selection is 0 (ノ `Д´)ノ ~┻━┻

make a mask > apply > make a new mask > apply again might work