Fix closed pulls func