fixing the versions_count migration for real this time