Fix logic in implementation of Prepare()

Signed-off-by: Ryan McDonald <ryan.mcdonald@sendgrid.com>