The pledges that are not being included have amendments. In order for pledges with amendments to be included, the 'Amendment' option needs to be selected on the Gifts Type tab.