Retry failed queries 1 time, fix rebuild-sphinx purging of deleted pages