The man page for 'which' claims that it searches the PATH environment variable using the same algorithm as 'bash'. However, it appears that 'which' searches the directories listed in PATH from left to right, while bash searches from right to left. Doh!
Anyway, try exporting PATH with your /usr/bin: before your /usr/local/bin: OR switch the locations of the 2 binaries.