Fix namespace in condition