A note on endogenous fertility, child allowances and poverty traps