Search button disabled with invalid inputs