Setting a check for existing posts to be able to modify them if needed