Fix topic validation