Added a new level of pruning spaces and empty strings, and the sql to
create tb_rating_keywords