fixed a bug having to do with detecting deleted json contents