Fix metadata account check

@shekenahglory