Fixed the issue with ordering when line status updated