Fixed error with non-function symbols getting chosen.