ManyRelatedField using bounded function

Fixes #637