Fixed error in nav map when table of contetnts is empty