Invalid urls are now handled properly even if Jarek sais otherwise
PairId is now String