Filter out zero-length URL patterns