Simplify service_records#select and search only by code.