Fix spouse_ids method
Hack to prevent exception when relationship is empty