Fixing form validation of small URL