[LFTILI-131] preventing the attempted push of an empty array after last queue item is removed