Fixes bug in model for getting classifier in the case where it doesn't exist.