Input validation fixes