Fix for #2111 – replacing bindParam to bindValue to avoid unexpected reference changes