fixing a bug in hasComponent and hasSourceComponent constraint resolvers