Added quotes around the param checks to avoid binary operator warnings