Fixed a major bug, will work on additional filters later.