Removed duplication for DeleteWriter and UpdateWriter getWhere