Moved messages
Fixed wrong select for closed messages