p1CorefId may not be an integer

Try to coerce into an integer, otherwise leave it null