Updated URL parser to be smarter about taking teh last index
0.5.14