ACT-1317: CommentEntity created when assigning to null has right type