Added mongo restriction.
Added support to start over from a certain sql table.