Fix reading of sample db