Fixes a bug where exists didn't call the callback