heh! I'm sure we all spend time in that space, lol.
When something like that happens to me and its just doesn't
make sense, I find its best to put it aside for a while and then
take a fresh look later. Or get someone else to take a look which
is what you did.