Fixed errors related to the wrong function being called in the OrderForm