Removed unnecessary assert statements used for debugging