Modified check for empty parameters in requeest - Lex