Fix compilation error
PostEntity lets you find out what kind of Post you have