using correct function to filter out invalid null amounts