fixes flash message defects on orders show page
fixing bug with flash msg ignore type evaluating on strings instead of symbols