There also should be a strltolower to prevent passing clause constructed only from big letters
``$func = sprintf('and%s', ucfirst(strtolower($this->getOption('clause'))));``