Fix check for GP APDU