merge is not working as it should, please help
Hello,
I'm beginner in Adobe Illustrator, I started with line art. I have a problem because when I finish my line art based on photo, I go to Object, group, merge lines and it's okay. Next I duplicate layer with lines and start coloring by adding square on bottom layer, next I should select all and merge again but It's always come as a solid color block and colored square and lines are not one object. I can't for example remove background or select and color shapes.
(Adobe Illustrator 25.0 64Bit Windows 10)
Screenshots:


