Custom field of type contact reference stopped working
Custom field of type contact reference stopped working for address field when upgraded to 5.8.1 from 4.7.31
The commit that might have caused this break is https://github.com/civicrm/civicrm-core/pull/12790/files#diff-bdea9a3ec62827e6c90a70202ea9f7ccL1066