Prevent from multiple data persistence exception.