Fix send queue last elem handling