Simplify condition for adding comma between posts