Solved bug while removing orders from server.