Fix f-common-parent if input list has just one element