This is an interesting topic and comes up fairly regularly. I used to have the dreams where the bullets had no effect, would fall out the end of the barrel, the gun would malf, all bad things which concerned me because I was new to carrying and had just got my 45.
It made me want to go shooting more. It was like I was trying to confince myself that it would work in reality. A strange thing happened then. As I began shooting more and more, my guns began working in my dreams!
So that makes me think that it is related to confidence. I was getting better in real life, and in my dreams.
Go shooting more. Cast if you have to to get the price down. Thats how I did it.