Added duplicate check to short urls