Added some utility functions for filtering short URLs