Fix the bind value at index 1 is null errors

Fixes #38