Fixed exception if no displacements exist