Fixed a bug with populating the filter field on page reload