Gracefully handle instructions with invalid references