Adding basic sanity check to prevent any actions being added to the queue with empty names.