BUG Fixed: AbstractActiveRecord doesn't pass id to criteria