// Convert dashes to underscore
$key = $this->convertDashesToUnderscores($key);
// Then walk through all search criteria
foreach ($this->criteria[$criteriaType] as $criteriaKey => $criteriaValue) {
// Convert dashes to underscore
$key = $this->convertDashesToUnderscores($key);
// Then walk through all search criteria
foreach ($this->criteria[$criteriaType] as $criteriaKey => $criteriaValue) {