Fix bug when using bind() with adapted structs
Merge pull request #267 from kylelutz/bind-struct

Fix bug when using bind() with structs