Add error message when trying to export a nonexistant flexirecord.
Fix reports index when user doesn't have read permission on members.