I've added a world and in doing so figured out that the problem is not the hasitem identifier, but is rather health boost, so i've changed the summary and description and also added the test world which now has an effect @p health_boost repeating command block that is toggleable and a kill command block to reproduce the glitch.
I've added a world and in doing so figured out that the problem is not the hasitem identifier, but is rather health boost, so i've changed the summary and description and also added the test world which now has an effect @p health_boost repeating command block that is toggleable and a kill command block to reproduce the glitch.