[bugfix] Add missing '[' in AS_IF conditional