Fix handling of limit