Move the len() tests for Union and Intersection to appropriate places