Who posted in: javascript function enters if even though it is 0

Member name Posts
DarenR 2
andrewsw 1