fix a bug in the belongs to relation eager constraint routine.