Checking for layer group containers, fixes #229