Limit was in the wrong place