Add MID to result database and sent the encryption bool instead of guessing it