all entities are listed including deleted items (which may have no revisions as a result of deletion) if we call for the scoped listing with .visible should remove deleted items and rectify issue.
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@204 5e329b0b-a2ee-ea63-e329-299493fc886d