fixing types in the adapters
fixed bug in getFather. It was returning a single predicate instead of a
set and it caused an error