Simplify condition for adding comma between posts

This changes was merged in the original repo at https://github.com/christian-fei/Simple-Jekyll-Search/pull/6