case insensitive ordering instead
adding delete method on the old middleware service thing
ValueError not TypeError
use the count() utility method instead