parent_id was not being picked up in default middleware