Modify fraction filter to correctly display whole numbers