Corrected bug in CSRLinksMatrix