HPCC-11749 Rebuild persists if they have been deleted

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>