Both settings are of the kind where, once they've been set high enough for your actual circumstances, nothing of a non-masturbatory nature is gained by setting them any higher.
Neither setting is the kind where the higher it is, the better things are in an absolute sense (i.e. where we should always wish that they could be higher than the highest setting we have, because that would be even better).
Very few people can hear a difference between well-implemented 44.1 kHz recording and recording at any higher sampling frequency, even on a direct comparison of revealing material played back on a good playback system. Many more people believe that there must be a substantial, audible difference than can actually identify such a difference by ear--i.e. people who could, at all reliably, tell you whether a recording was made at 44.1 kHz vs. 96 if you had equivalent samples of both. Hell, in my professional work with prominent producers and artists, I rarely met anyone who could tell whether they were listening to a direct analog feed vs. 16/44.1 with 1980s equipment, although I met plenty of people who were oh-so-sure that they could. (They didn't always know when I was testing them ...)
There's a rather high probability that in any given case other than a specially-set-up laboratory situation, 24/96 wouldn't produce any more audibly accurate results than well-implemented 16-bit at either 44.1 or 48 kHz would do. Depending on the specific equipment, sampling accuracy can even be reduced at the higher rate (speed and accuracy are not normally friends in the performance of any given physical task). And the additional bit depth is completely useless, literally just a waste of storage space, if the noise level at the input to the converter is at or above the 16-bit level, which it often is in live recording situations. (It helps being old enough to recall the panic in the recording industry when digital recording first came in, and the studios and record labels realized that they had to deal with all the low-level noises being revealed on CDs that had never been audible on vinyl.)
So you did the right thing as long as you were able to make your recording successfully. But other possible choices might have been good, too, depending on the circumstances.
--best regards