Fixing issue with Casbah API