I am trying to use the boolean modifier to 'remove' the highlighted objects as can be seen in the first picture. However, when I apply the modifier it does create the geometry - as you can see in the second picture - but it is not removing those parts in my object.
How can I make the boolean modifier work?