Fix off-by-one error in listingblock.

This caused that the listingblock was not displayed when only one item
was in the listingblock and the block was not editable.
Merge pull request #77 from 4teamwork/jone-listingblock-off-by-one

Fix off-by-one error in listingblock.