Fixed hasMany relationship and implemented Where-Get consult