fixing an error in the filtering of locked achievements