Tiny code cleanup

if (boolean == true) is kind of useless.