Correct filter while posting empty values