Fix query for missing indexes on FKs

The previous query reported every index that SHOULD exist for FKs, but was not filtering out the already existing ones.