Fix JSON lifecycle to allow createdBefore conditions