Keep in mind you need to destroy the herd building to upgrade farms to the max level.