Changed num_preferred input name

Input name was incorrect making buttons unable to appear.