I found the solution. Somehow, when I installed Woocommerce, my main menu was no longer selected under “Menu Locations” under the menu tab. So it was showing a default menu. Once I checked the box “Enfold Main Menu (Current: Main Menu)” it started working.