Fixed a bug that caused error when binding model with recursive properties.