moved problem orders to a field in the database

Damn that's a nasty conditional.