How to handle issues due to create_before_destroy and "deposed object"