Fix limA1S() to accept different flag bits