Account for shortlinks in clean up script