Fixed small edge case in function types.