Fix to use isSnapshot