Special order form handles difficult edge case

The edge case was if a user added a lot of empty rows and
then inserted a valid item in the final row. The form has to
be able to "prune" the empty rows before saving any data. It
now successfully does this.