Wrong equals used in a couple places

Notice the use of equals in a couple places where strict equals should be applied.