final int index = (int) Converter.longValue(transaction.trits(), Transaction.TAG_TRINARY_OFFSET, 15);
if (index > latestMilestoneIndex) {
final Bundle bundle = new Bundle(transaction.bundle);
for (final List<Transaction> bundleTransactions : bundle.getTransactions()) {
if (bundleTransactions.get(0).pointer == transaction.pointer) {
<BUG>final Transaction transaction2 = Storage.loadTransaction(transaction.trunkTransactionPointer);

if (transaction2.type == Storage.FILLED_SLOT
</BUG>
&& transaction.branchTransactionPointer == transaction2.trunkTransactionPointer) {

final int index = (int) Converter.longValue(transaction.trits(), Transaction.TAG_TRINARY_OFFSET, 15);
if (index > latestMilestoneIndex) {
final Bundle bundle = new Bundle(transaction.bundle);
for (final List<Transaction> bundleTransactions : bundle.getTransactions()) {
if (bundleTransactions.get(0).pointer == transaction.pointer) {
final Transaction transaction2 = StorageTransactions.instance().loadTransaction(transaction.trunkTransactionPointer);
if (transaction2.type == AbstractStorage.FILLED_SLOT
&& transaction.branchTransactionPointer == transaction2.trunkTransactionPointer) {
