modified save_post_revision() to eliminate duplicate entries