Small bug fixes with entrezquery