Removing unused params from DoesNotExist