[BUG #7698] Added check for given arguments