Fixed error message while uploading an attachment and no queue is selected.