Add missing version query