Cleaned up code searching views to only include records that have codes.