bugfix for smalldoc push

This was explicitly pushing at least 100 rows, which would error out when the keys were null.