InvalidException::getOptions() - fixing a notice that was produced at times.