Fixed inner loop removal pattern in attr_lim_max

It was a namespace error. silly me. >.>