dresende/node-orm2 — pull request #7 by bramus (2012-12-10 10:31:34+00:00)
Title: When using a condition in hasMany(), make sure the original id is part of the condition

Fix for the behavior I described in https://github.com/dresende/node-orm2/issues/3#issuecomment-11188171