Finding Which Packed Indexes are 1

In reply to Have_A_Doubt:

You are right. Apology for my comment. Let me run this and debug the issue.