fixing conditions bug with callbacks in relational destroy_all