Make sure post doesn't exist before creating it.
mentor code change