Fixed check for versions cask