Take options.limit into account