Are you familiar with rubber ducking @siggy47? I think it could really help you out.
Basically, by explaining the issue you are facing and the things you have tried in extreme detail, there's very high chances you'll spot the issue/solution on your own along the process. It tends to work great for silly mistakes like this one.
Thanks for the link. I love this idea.
reply