Corrected the call to neuralNet.search.