Add another check for model existence