[#2031] Fix Bug, if delete a member from a project, then all of associated pending member_invitation will be dealt with at the same time.