Fixed unrecognized function call by moving getValue before applyFilter