Bug when doing max version caps when more than one deactivated version is found thanks to Akitogo CONTENTBOX-94 #close