ReplicatedPG::on_flushed: reverse the sense of the if

Signed-off-by: Samuel Just <sam.just@inktank.com>