Simplify condition for adding comma between posts

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