Cleaned up ticket lookups.