Purge empty repl_history