Fix Infinite Loop When Empty Data for a RecordType on ReadDatabasePages.
Merge pull request #22 from alexandre-normand/fix-loop-getting-user-events

Fix Infinite Loop When Empty Data for a RecordType on ReadDatabasePages.