Fixed the Delete Selected bug in the Queue Layout

#743