Fixed length check against wrong variable.