JC: in search_helper.rb, added if stat_header.present? to skip split when it is nil.