Added debug message to non-generic assertion