Fixed bug when a ghost item appears in the model

This commit fixes a bug when a ghost item appears
in the model. It was caused by a wrong index
specified in FacebookInterface::beginInsertRows().
The second parameter should have been the index
of the last entry, not the number of entries to
be inserted.