checks delta availableDocs now too, some duplication in Firebase db that I have to fix though