Fixed bug in url sub-selection injection