Fix purge per app version code... was purging everything.