Move utf8 check for user id upwards
Filter key list by certified keys