Fixed the reversed relation for virtual fields (generic foreign keys).