Fixed strange bug with update checks