Fixed user-post model issue - logic error