It may be short-sighted, but, frankly, most people and organizations in the world act in most contexts in short-sighted pursuit of their goals. Foolish, sure, and unethical in the case of HR departments, but nonetheless, the behavior one can expect from them.