Commented out filter methods and fixed mainTable undefined bug