Fixed bad word check if only a part of the bad word matches