[ticket/12956] Ensure the contact columns have been added before using t...

...hem

https://tracker.phpbb.com/browse/PHPBB3-12956