If version is not valid, set it to 1.0

Authored by mutlaqja on Dec 14 2017, 7:07 AM.