Temporary fix to get MongoDB documents working again