Only call check_for_pruning whenever we have a message that can be

pruned