fixed issue with null comparisons which caused url's shared to be ignored