Fix some exceptions related to lack of info on ANN