If an application includes any territory within the boundaries of a proposed city for which a valid petition for incorporation has been filed with the board of supervisors of the affected county, the entire area of the proposed city, at the time of filing the application, shall be included within the boundaries of the proposed district.