Fix damaged sources ending in ready status
Some code improvements
Added some comment and used !== instead of !=
Merge pull request #1051 from kaltura/IX-9.13.0-SUP-1775

corrupted source shows as ready in KMC