Remove redundant check from Input code.