Run metadata checks earlier