Don't process resources if the primary element is empty