fixes ilastik/ilastik#904

Fixes ilastik/ilastik#904 with respect to layer names.