fixed broken related finder by category if given obj is also listed in related category and added test for this