Fixed enhance task so it does not break up-to-date checking