Check existing IDs when loading model file for jubaanomaly

This PR fixes #613 only for standalone mode.