Account for empty (but still present) layers