fix url length bug to check for reference type
fix url length bug to check for reference type

informatics-isi-edu/chaise,informatics-isi-edu/chaise,informatics-isi-edu/chaise,informatics-isi-edu/chaise