Fix bugs in mention finding where filtering did not take sections into account