Fix error in get_last_updated

- Update get_last_updated to not fail when there are no records
- Make find and find_one have the same api and reduce the duplication