nfp: fix supported key layers calculation