Add version check for mutable secondary index