Added two extra data filter helper functions.