That makes sense, although you need to zap the UID both in the FTS_RELEASED -> FTS_FREE case and the FTS_EXPIRED -> FTS_FREE case.