Fix sample (Exception type changed in Mongo)