compositelayer get_layer_monitoring_channels now picks apart state

CompositeLayer's get_layer_monitoring_channels previously did not correctly pick apart the state.

Still need to add a test.
I think those two have to be on separate lines for pep8