added check for 0 value in filters