Small css fix and filtering alrgorithm bug