Query for versions without commits