Fix wrong application version status in cache and missing when load from db