Fixed a possible crash if no versions exist for a module