Themes improperly check renderable arrays when determining visibility

This bug can cause facets in a sidebar to render the region, even when the facets are empty. This is because the facet block adds en empty element that renders after it's checked by the region.

Issue module