making function that removes board-persona permissions more resilient. since we recently changed the ID scheme of link records, many of them are invalid. HOWEVER because they still store the necessary data to reference them, we can make the delete that removes them smarter