Fixed filter and get methods for empty values.