Adds locale support for number fields; several bug fixes for filters in general.