fix crash on null foreign keys
add option to generate fixed number of models randomly. add option to
not follow m2m