Merge "Fix NdefRecord flags handling."