visibility nav requirements added to sql for top categories