added check for the presence of slots in the templates for the function add-anet-entry