Restrict ban ID and duration fields to numbers