Fix checking if api has an osm permission for multiple permissions/levels.