Better user error handling for the adapt (to sex/age) template filter.