Functions exists checks for different function...

It didn't make sense to me to check for a different function name... so here's a little fix.