Added validation rule in case a series is provided with no data elements.