Update foot-nav.php

Fixed for loop condition