Bug fix. Error in order search form

Bug fix.