Bugfix for light removal

Fixes #71
Added regression test