SONAR-3755 Removed useless security check