Switched bindParam to bindValue

Fixes #323