DELTASPIKE-738 fixed assert statements