Bug fix in Input (when only one keyword is excluded)