ECMS-5509 fix wrong comparison statement in PostCreateContentEventListener.java