Fixing @alle check that didn't check for end of string