Add 1 to number of posts to fix div by zero
Merging of branches