Client: fix handling of important entries

The condition of the if should match the case, if the entry should be
skipped.