Bugfix for status styles when class changed.